/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.iecg.api.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.mongodb.core.index.Indexed;

import java.util.Arrays;
import java.util.Date;

/**
 *
 *
 * @author zjc
 * @date 2019-09-05 11:13:10
 */
@Data
public class IecgCheckCondition{

    /**
     * 编号
     */
	@Id
    private String id;
    /**
	 * 用户ID
	 */
	@Indexed
	@ApiModelProperty(value="用户id")
	private Long userId;
	/**
	 * 用户姓名
	 */
	@Indexed
	@ApiModelProperty(value="用户姓名")
	private String name;
	/**
	 * 设备id
	 */
	@ApiModelProperty(value="设备id")
	private String deviceId;
	/**
	 * 心脏起搏器
	 */
	@ApiModelProperty(value="植入心脏起搏器,植入:1,未植入:0")
	private Integer pacemaker;
	/**
	 * 胸痛
	 */
	@ApiModelProperty(value="胸痛:1;无;0")
	private String pectoralgia;
	/**
	 * 呼吸困难
	 */
	@ApiModelProperty(value="呼吸困难:1;无;0")
	private String breathingPoblems;
	/**
	 * 心慌
	 */
	@ApiModelProperty(value="心慌:1;无;0")
	private String alarmed;
    /**
     * 乏力
     */
	@ApiModelProperty(value="乏力:1;无;0")
    private String feeble;

	@CreatedDate
	@ApiModelProperty(hidden=true)
	private Date createTime;

	@LastModifiedDate
	@ApiModelProperty(hidden=true)
	private Date updateTime;

}
